/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-06-13
*/
package com.rzico.order.entity;

import com.rzico.order.model.ReviewMeta;
import lombok.Data;

import java.util.Collections;
import java.util.Date;
import java.util.List;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * <pre>
 *   订单评论数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "wx_order_review")
public class OrderReview{
    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "创建日期" )
    protected java.util.Date createDate;

    @ApiModelProperty(value = "修改日期" )
    protected java.util.Date modifyDate;

    @ApiModelProperty(value = "评论内容" )
    protected String content;

    @ApiModelProperty(value = "追加评价" )
    protected String addToReview;

    @ApiModelProperty(value = "追评时间" )
    protected Date addToDate;

    @ApiModelProperty(value = "买家秀([type,url])" )
    protected String meta;

    @ApiModelProperty(value = "是否有视频" )
    protected Boolean isMetaVideo;

    @ApiModelProperty(value = "商品名称" )
    protected String name;

    @ApiModelProperty(value = "单位" )
    protected String unit;

    @ApiModelProperty(value = "商品价格" )
    protected java.math.BigDecimal price;

    @ApiModelProperty(value = "数量" )
    protected java.math.BigDecimal quantity;

    @ApiModelProperty(value = "商品规格" )
    protected String spec;

    @ApiModelProperty(value = "商品缩略图" )
    protected String thumbnail;

    @ApiModelProperty(value = "星级" )
    protected Integer star;

    @ApiModelProperty(value = "订单" )
    protected Long productId;

    @ApiModelProperty(value = "商户" )
    protected Long enterpriseId;

    @ApiModelProperty(value = "订单" )
    protected Long orderId;

    @ApiModelProperty(value = "店铺ID" )
    protected Long shopId;

    @ApiModelProperty(value = "昵称" )
    protected String nickname;

    @ApiModelProperty(value = "头像" )
    protected String avatar;

    @ApiModelProperty(value = "订单号" )
    protected String orderSn;

    @ApiModelProperty(value = "商户名" )
    protected String mchName;

    @ApiModelProperty(value = "商户LOGO" )
    protected String mchLogo;

    @ApiModelProperty(value = "会员" )
    protected Long memberId;

    protected List<ReviewMeta> itemList = Collections.emptyList();


}
